
package com.wwy.monitor.mapper.tddl;

import com.wwy.monitor.model.tddl.dto.MonitorLogDTO;
import com.wwy.monitor.model.tddl.query.MonitorLogQuery;
import com.wwy.monitor.model.tddl.vo.MonitorLogVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author long.Wanheng
 * @version V1.00
 * @createDate 2019/10/30
 */
@Repository
public interface MonitorLogMapper {
    /**
     * æ¥è¯¢çæ§è®°å½æ°æ®
     *
     * @param monitorLogQuery æ¥è¯¢æ¡ä»¶
     * @return çæ§è®°å½æ°æ®ç»æé
     */
    List<MonitorLogVO> queryMonitorLog(@Param("monitorLogQuery") MonitorLogQuery monitorLogQuery);

    int batchInsertMonitorLog(@Param("list") List<MonitorLogVO> list);

    int queryMonitorLogCount(@Param("monitorLogQuery") MonitorLogQuery query);
}